package com.app.lxx.pregnancyberth.widge;

import android.content.Context;
import android.util.AttributeSet;

import cn.jzvd.JZVideoPlayerStandard;

/**
 * Created by Lxx on PregnancyBerth
 * 2019/8/15 15:16 星期四
 */
public class JzvdStdComplete extends JZVideoPlayerStandard {
    public JzvdStdComplete(Context context) {
        super(context);
    }

    public JzvdStdComplete(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    public void onStateAutoComplete() {
        super.onStateAutoComplete();
        callonStateAutoComplete.callonStateAutoComplete();
    }

    private callonStateAutoComplete callonStateAutoComplete;

    public interface callonStateAutoComplete {
        void callonStateAutoComplete();
    }

    public void setCallonStateAutoComplete(callonStateAutoComplete complete) {
        callonStateAutoComplete = complete;
    }
}
